TeamB

id: task-4.4 title: "CLI: Task Archiving and State Transitions" status: Done assignee: @MrLesk reporter: @MrLesk created_date: 2025-06-04 updated_date: 2025-06-08 labels: ["cli", "command"] milestone: "M1 - CLI" dependencies: ["task-4.1"] parent_task_id: task-4

Description

Add commands for finalizing and moving tasks:

  • backlog task archive <task-id> and backlog draft archive <task-id>
  • backlog draft promote (move a draft to tasks)
  • backlog task demote (move a task back to drafts)

Acceptance Criteria

  • [x] Archived tasks are moved to .backlog/archive/ with history preserved.
  • [x] Promote/demote commands relocate files between drafts and tasks.
  • [x] Commits clearly state the action performed.
Brodocs MVP